package yxy.game.pm2.active.module.subordinateclass;

import org.joda.time.DateTime;
import yxy.game.pm2.bean.Currency;

import java.util.ArrayList;

public class RecruitPackage {

    private int id;        //表格ID
    private int goodsid;    //商品id
    private String packageName; //礼包名称
    private ArrayList<Currency> curs = new ArrayList<Currency>();
    private DateTime start;
    private DateTime end;
    private boolean hadbuy = false;    //已经购买
    private boolean lock = false;    //锁单
    private DateTime locktime;        //锁单时间
    private int numlimit;        //限购次数
    private int buyNum;         //已购买次数
    private int nextID;        //下一个礼包的id
    private boolean canBuy;    //能否购买；

    public boolean isCanBuy() { return canBuy; }

    public void setCanBuy(boolean canBuy) { this.canBuy = canBuy; }

    public int getBuyNum() { return buyNum; }

    public void setBuyNum(int buyNum) { this.buyNum = buyNum; }

    public int getNumlimit() {
        return numlimit;
    }

    public void setNumlimit(int numlimit) {
        this.numlimit = numlimit;
    }

    public int getNextID() {
        return nextID;
    }

    public void setNextID(int nextID) {
        this.nextID = nextID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public ArrayList<Currency> getCurs() {
        return curs;
    }

    public void setCurs(ArrayList<Currency> curs) {
        this.curs = curs;
    }

    public DateTime getStart() {
        return start;
    }

    public void setStart(DateTime start) {
        this.start = start;
    }

    public DateTime getEnd() {
        return end;
    }

    public void setEnd(DateTime end) {
        this.end = end;
    }

    public boolean isHadbuy() {
        return hadbuy;
    }

    public void setHadbuy(boolean hadbuy) {
        this.hadbuy = hadbuy;
    }

    public boolean isLock() {
        return lock;
    }

    public void setLock(boolean lock) {
        this.lock = lock;
    }

    public DateTime getLocktime() {
        return locktime;
    }

    public void setLocktime(DateTime locktime) {
        this.locktime = locktime;
    }

    public String getPackageName() { return packageName; }

    public void setPackageName(String packageName) { this.packageName = packageName; }
}
